// api/finance.js
import http from '@/utils/http.js'  // 导入你封装好的 http

// 获取支付账户
export function getPayAccount() {
  return http.post('/financePaymentPlatform/getPayAccount')
}

// 编辑或修改支付账户
export function createOrEdit(data) {
  return http.post('/financePaymentPlatform/createOrEdit', data)
}

// 删除支付账户
export function deletePayAccountById(params) {
  return http.post('/financePaymentPlatform/del', {}, { params })
}